<?php
include 'const.php';

if (isset($_GET['sid'])) {
    $sid = $_GET['sid'];
    $data = $const->query("SELECT * FROM taobaogoods WHERE sid='$sid'");

    echo json_encode($data->fetch_assoc());
}
